-errorinfo; return Array("Error" =>1, "message" = =$phpmailererror); }Else{ return Array("Error" =>0); }}Example of sending a mail call function: /** * Send mail*/ Public functionSend_email () {$name= I (' post.name ', ' This is a test mail name ')); $address= I (' post.address ', ' This is a test mail sent to the address '); $phone= I (' Post.phone ', ' 13669361192 '); $email= ' [email protected] '; $str= HTML Name:$nameAddress:$addressPhone Number:$phonehtml; $result= Send_email ($e
All phpmailer objects and attributes-original translation-required for phpmailer users. Phpmailer: phpmailer is an excellent Sender program, but it has little Chinese information, so I manually phpmailer all objects and attributes original Chinese translation
Phpmailer all objects and attributes original Chinese translation phpmailer users must seeSolutionPreface:Phpmaileris an excellent sending program. However, phpmailer's elementindex.html and E files are manually translated. There are many things, so there are three postsACFrom:[Url = ResponseStart with:$ AltBody attributesFrom: PHPMailer ::$ AltBody, file: class.
Phpmailer all objects and attributes Chinese original translation Phpmailer user must see
Workaround
Objective:
Phpmailer is an excellent sender program, but the Chinese material is relatively small, so I manually translated the Phpmailer elementindex.html,e: [url=http://www.bblog.com/apidoc/ Elementindex_phpmailer.htm
Phpmailer simple way to send mail (with Phpmailer source download), Phpmailer source download
This article describes the Phpmailer simple way to send a message. Share to everyone for your reference, as follows:
First, click here Download the site the appropriate php file .
After decompression there are 2 PHP files (2
Start with:
$ Altbody -- attribute
From: phpmailer ::$ altbody, file: class. phpmailer. php
Note: the setting of this attribute is that HTML standby display is not supported in the mail body.
Addaddress -- Method
From: phpmailer: addaddress (), file: class. phpmailer. php
Note: add recipients. Parameter 1 is the recipi
", "mckee"); // Reply to address$ Mail-> From = "phpddt1990@163.com ";$ Mail-> FromName = "www.phpddt.com ";$ To = "987044391@qq.com ";$ Mail-> AddAddress ($ );$ Mail-> Subject = "phpmailer test title ";$ Mail-> Body = "phpmail demo this is the test content for phpmailer by php Dianping (www.phpddt.com ";$ Mail-> AltBody = "To view the message, please use an HTML
PHPMailer cannot send emails. PHPMailer can send emails. PHPMailer cannot send emails, and PHPMailer cannot connect to the SMTP server. it has nothing to do with modifying the SMTP case (2011-10-22:17:35). reprinted the authorization label: phpphpphpmailer PHPMailer cannot s
Php uses phpmailer to send mails and phpmailer to send mails
I am a newbie. I want to send the verification code via email, so I can find and collect the verification code.
This is the 163 mailbox because the account entered in the enterprise mailbox is not the 163 account, but the password is the authorization code
The authorization code is obtained as follows:
Then
Then you can see it in the lower part
Summarize the common problems of PHPmailer group-sending Gmail, and phpmailer group-sending gmail. Summarize the frequently asked questions about PHPmailer group-sending Gmail. you may encounter many frequently asked questions when phpmailer group-sending gmail. The following summarizes some frequently asked questions,
PHPMailer description. Starting with A: $ AltBody -- attribute from: PHPMailer: $ AltBody File: class. phpmailer. php description: This attribute is set to begin with AddAddress -- Method A, which does not support HTML standby display in the mail body:
$ AltBody -- attribute
From: PHPMailer: $ AltBody
File: class.
PHPMailer cannot send emails. PHPMailer can send emails.
PHPMailerYou cannot connect to the SMTP server. It is irrelevant to modifying SMTP case sensitivity.
(12:17:35)
Reprinted token
PhpPhpmailerMiscellaneous
Category: Default category
PHPmailer cannot send emails, and the Error "Error: cocould not connect to SMTP host" is displayed.There were
The code is as follows:Copy code Require ("class. phpmailer. php ");$ Mail = new phpmailer ();$ Mail-> charset = 'utf-8 ';$ Address = $ _ post ['address'];$ Mail-> issmtp (); // set mailer to use smtp$ Mail-> host = "mail.xxx.com"; // specify main and backup server$ Mail-> smtpauth = true; // turn on smtp authentication$ Mail-> username = "
Use PHPMailer to send emails, and phpmailer to send emails. Use PHPMailer to send emails, and phpmailer to send emails to blog. csdn. netliruxing1715articledetails7914974PHPMailer's official website: phpmailer. worxware. comPHP use PHPMa
Phpmailer v5.1 downloadStart with:$ AltBody -- attributeFrom: PHPMailer ::$ AltBodyFile: class. phpmailer. phpNote: the setting of this attribute is that HTML standby display is not supported in the mail body.AddAddress -- MethodFrom: PHPMailer: AddAddress (), file: class. phpmaile
Summary phpmailer mass gmail FAQ, Phpmailer mass gmail
Everyone in Phpmailer mass Gmail will encounter many common problems, the following for you to summarize some common problems, I hope that everyone's learning has helped.
1.Could not authenticate
First of all, if you do not use the loop, basically is the account or password is wrong;
If you use a loop to mas
1.73, is 2005 out, indeed not new. So on Phpmailer's official website under the latest 5.1.
I would like to first look at how the new version of Phpmailer to solve the problem of SSL authentication, so I looked at its own some of the documentation, happened to find under Phpmailer_v5.1/docs there is a use_ Gmail.txt, it seems that the official more emphasis on Gmail, a special demo for people to refer to.
Summarize the common problems of PHPmailer group-sending Gmail, and phpmailer group-sending gmail
You may encounter many Frequently Asked Questions in PHPmailer Group Sending Gmail. The following summarizes some frequently asked questions and hopes to help you learn them.
1. cocould not authenticate
First, if you do not use the loop, the account or password is in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.